package com.wpx.batch;

public interface ItemWriter<F> {
    void writer(ExecuteContext executeContext, F item);

    default void writerExceptionHandle(ExecuteContext executeContext, Exception e, F item){
        e.printStackTrace();
        System.err.println("写失败数据：" + item);
    }

}
